.block-movie {

    &__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 250px;
    }

    &__title-wrapper {
        font-family: $font-titles;
        display: flex;
        align-items: center;
        justify-content: space-between;

        margin-left: 2vw;
        padding-bottom: 1vw;
    }

    &__rating-age-limit {

        max-width: 6vw;
        margin-right: 1vw;

        @media #{$mobile} {
            max-width: 10vw;
        }

        @media #{$tablet} {
            max-width: 8vw;
        }
    }

    &__rating-age {

        display: flex;
        justify-content: center;
        align-items: center;
    }

    &__rating-kinopoisk {
        font-family: $font-titles;
        width: fit-content;
        border: 2px solid black;
        color: black;
        padding: 3px;
        margin: 20px 20px 20px;
    }

    &__main-section {
        display: flex;
        flex-direction: column;
    }

    &__cotanier-wrapper {
        display: flex;

        @media #{$mobile} {
            flex-direction: column;
            justify-content: center;
        }

        @media #{$tablet} {
            flex-wrap: wrap;
            justify-content: space-around;
        }
    }

    &__poster-wrapper {
        order: 1;
        display: flex;
        flex-direction: column;
        column-gap: 15px;

        @media #{$mobile} {
            column-gap: 5px;

        }

        @media #{$tablet} {
            column-gap: 9px;

        }
    }

    &__poster {
        max-width: 250px;
        border-radius: 10%;
    }

    &__common-info-about {
        order: 2;

        @media #{$mobile} {
            order: 3;
        }

        @media #{$tablet} {
            order: 3;
        }

        display: flex;
        flex-grow: 1;
    }

    &__info-wrapper {
        display: flex;
        flex-wrap: wrap;
        margin: 0 10px 15px;

        @media #{$mobile} {
            margin: 0 0 5px;

        }

        @media #{$tablet} {
            margin: 0 0 5px;
        }
    }


    &__infomation {
        display: flex;
        flex-direction: column;

    }

    &__item {

        display: flex;
        flex-direction: column;
        justify-items: center;
        max-width: 50%;

        @media #{$mobile} {
            max-width: 80%;
            padding-left: 15px;
        }

        @media #{$tablet} {
            max-width: 80%;
        }
    }

    &__info {
        display: flex;
        flex-direction: column;

    }

    &__subtitle {
        display: flex;
        flex-direction: column;
        width: 12vw;
        text-decoration-line: none;

        @media #{$mobile} {
            width: 100px;
        }

        @media #{$tablet} {
            width: 100px;
        }

    }

    &__photos-wrapper {
        display: flex;
        flex-wrap: nowrap;
        justify-content: end;
        gap: 20px;

        @media #{$mobile} {
            gap: 5px;
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        @media #{$tablet} {
            gap: 9px;
        }
    }

    &__description-wrapper {
        max-width: 60%;
        display: flex;
        text-align: justify;

        @media #{$mobile} {
            max-width: 100%;
        }

        @media #{$tablet} {
            max-width: 100%;
        }
    }

    &__seasons {
        max-width: 60%;
    }
}

.similar-movies {
    margin-top: 20px;

    &__posters-contanier {
        display: flex;
        gap: 30px;

        @media #{$mobile} {
            gap: 5px;
            flex-wrap: wrap;
        }

        @media #{$tablet} {
            gap: 12px;
        }
    }

    &__more-similar-movies {
        margin-top: 20px;
        max-width: 40vw;
        display: flex;
        flex-wrap: wrap;
        gap: 30px;

        @media #{$mobile} {
            gap: 5px;
            max-width: 100vw;
        }

        @media #{$tablet} {
            gap: 12px;
            max-width: 100vw;
        }
    }

    &__title {
        font-family: $font-titles;

    }
}

.movie-sources {
    width: 16vw;
    margin: 30px 20px 10px;
    order: 3;

    @media #{$mobile} {
        display: flex;
        margin: 15px 10px 5px;
        order: 2;
    }

    @media #{$tablet} {
        order: 2;
    }

    &__sources-wrapper {
        padding: 15px;
        margin-top: 10px;
        width: fit-content;
        border: 3px dashed black;
        border-radius: 20%;

        @media #{$mobile} {
            padding: 10px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 5vw;
            width: fit-content;
            margin-top: 1px;
        }
    }

    &__container {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;

        @media #{$mobile} {
            margin-top: 0;
            display: flex;
            flex-direction: row;
        }
    }

    &__title {
        font-family: $font-titles;
    }
}


#seasons {
    margin-left: 20px;
    max-width: 80vw;

    @media #{$tablet} {
        max-width: 90%;
    }

    @media #{$mobile} {
        max-width: 90%;
    }
}

.episod-container {
    display: flex;
    flex-direction: column;
}

.episod-wrapper {
    display: flex;
    margin-top: 2vh;
    gap: 2vw;
    margin-left: 2vw;
}

.title-episod {
    max-width: 25vw;
    width: 100%;

    @media #{$tablet} {
        min-width: 30vw;
    }

    @media #{$mobile} {
        min-width: 30vw;
    }

    font-family: $font-titles;

}

.episod {
    max-width: 70vw;
    display: flex;
    text-align: justify;
    width: 100%;
    @media #{$tablet} {
        max-width: 100%;
    }

    @media #{$mobile} {
        max-width: 100%;
    }
}

.likeBtn {
    background-color: rgba($color: $background-color, $alpha: 0);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.likeIcon {
    width: 24px;
    height: 24px;
    background-image: url("../images/likeEmpty30.svg");
    background-size: cover;
    margin-right: 4px;
    transition: background-image 0.9s ease-out;
}

.liked {
    background-image: url("../images/likeFilledPink.svg");
    background-size: cover;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    transition: background-image 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.likeIcon:hover {
    background-image: url("../images/likeOnfocus.svg");
    background-size: cover;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    transition: background-image 0.6s ease-in;
}

.liked:hover {
    background-image: url("../images/likeOnfocus.svg");
    background-size: cover;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    filter: drop-shadow(6px -4px 0px #af464580);
    transition: background-image 0.6s ease-in;
}

.block-wrapper {
    display: flex;
}

.actors-subtitle {
    @media #{$mobile} {
        max-width: 0;
    }
}

.small-pict {
    max-height: 150px;
    border-radius: 10%;

    @media #{$mobile} {
        max-height: 120px;
        border-radius: 8%;
    }
}

.tiny-pict {
    max-height: 90px;
    border-radius: 10%;
}

.about,
summary {
    font-family: $font-titles;
}

.no-visible {
    display: none;
}

.small-icon {
    max-height: 50px;
    border-radius: 50%;

    @media #{$mobile} {
        max-height: 30px;
    }
}